#! /bin/sh

name=libxv
version=1.0.13
revision=1
tarball_url="https://www.x.org/archive/individual/lib/libXv-${version}.tar.gz"
tarball_blake2b="bcd9ddfaed0cbf94e387f6c5fe3c0105550c9bca4be07e00527d50dcc34e0ac58ba616d7fec32b80f31e4a302ee25cba6a3382fa94f93b2ebe3368d3d76d3368"
hostdeps="gcc pkg-config"
deps="core-libs xorg-proto libx11 libxext"

prepare() {
    autotools_recursive_regen
}

configure() {
    autotools_configure
}

build() {
    make -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" make install

    post_package_strip
}
